<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<script type="text/javascript">
			
			
			var has = false;
			
			if(has){
				alert("他有女朋友！");
			}else{
				alert("他没有女朋友！");
			}
			
			
		</script>
		
	</body>
</html>
